<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>DedeBIZ menu</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/jquery.min.js"></script>
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?>
<script src="js/leftmenu.js"></script>
<style>
body{margin:0;background:#f6f6f6;overflow:scroll;overflow-x:hidden}
img {margin-right:0;border-radius:0;vertical-align:top}
.fllct {float:left;width: 86px}
.flrct {float:left;}
.fa-minus-circle {color:#dc3545}
.fa-plus-circle {color:#28a745}
.gzs-top{background:#000;}
.gzs-top ul{overflow:hidden;}
.gzs-top ul li{float:left;width:33.33333%;line-height:50px;text-align:center;border-right:1px solid #fff;box-sizing:border-box;}
.gzs-top ul li a{display:block;color:#fff;cursor:pointer;}
.gzs-top .mmac{background:#51acf9;}
.gzs-top ul li a:hover{color:#fff;background:#51acf9;}
dl.bitem,dl.bitem2{clear:both;background:#28a745;margin:0;}
dl.bitem dt,dl.bitem2 dt{height:50px;line-height:50px;padding-left:46px;}
dl.bitem dt b,dl.bitem2 dt b{color:#fff;font-size:16px;border-left:4px solid #fff;padding-left:10px;}
dl.bitem dd,dl.bitem2 dd{background-color:#999;}
.sitemu li{line-height:46px;height:46px;}
.sitemu li a{display:block;color:#fff;padding-left:46px;font-size:15px;}
.sitemu li:hover{background:#000;color:#fff;cursor:pointer;}
</style>
<base target="main">
</head>
<body onLoad="CheckOpenMenu();">
<div class="gzs-top">
<ul>
<li><a id="link1" class="mmac"><div onClick="ShowMainMenu(1)">内容</div></a></li>
<li><a id="link6" class="mm"><div onClick="ShowMainMenu(6)">会员</div></a></li>
<li><a id="link100" class="mm" style="display:none;"><div onClick="ShowMainMenu(100)">插件</div></a></li>	
<?php
if($cuserLogin->getUserType()>=10)
{
?>
<li><a id="link7" class="mm" style="display:none;"><div onClick="ShowMainMenu(7)">模板</div></a></li>
<li style="border-right:none;"><a id="link10" class="mm"><div onClick="ShowMainMenu(10)">系统</div></a></li>
<?php
}
?>
</ul>
</div>

<div id="mainct">
<div id="ct1">
<?php 
GetMenus($cuserLogin->getUserRank(),'main');
?>
</div>
<div id="ct100"></div>
<div id="ct3"></div>
<div id="ct5"></div>
<div id="ct6"></div>
<div id="ct7"></div>
<div id="ct20"></div>
<div id="ct10"></div>
</div>

<?php
if(!empty($openitem) && $openitem!=1)
{
?>
<script>ShowMainMenu(100);</script>
<?php
}
?>
</body>
</html>